package com.slipper.system.api.dictionary.service;

import com.slipper.common.bo.Result;
import com.slipper.common.feign.ServiceClient;
import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.system.api.dictionary.bo.DictionaryDataBO;
import com.slipper.system.api.dictionary.bo.DictionaryDataBOs;

import java.util.List;

import org.springframework.web.bind.annotation.RequestBody;

/**
 * 字典数据信息
 * 
 * @date 2019-10-03 14:02:09
 */
@ServiceClient
public interface IDictionaryDataSv {
    @FeignRequestMapping("/dictionaryData/queryBy")
    Result<DictionaryDataBO> queryBy(@RequestBody DictionaryDataBO bo);

    @FeignRequestMapping("/dictionaryData/queryPage")
    Result<List<DictionaryDataBO>> queryPage(@RequestBody DictionaryDataBO bo);
    
    @FeignRequestMapping("/dictionaryData/queryList")
    Result<List<DictionaryDataBO>> queryList(@RequestBody DictionaryDataBO bo);

    @FeignRequestMapping("/dictionaryData/save")
    Result<?> save(@RequestBody DictionaryDataBO bo);
    
    @FeignRequestMapping("/dictionaryData/saves")
    Result<?> saves(@RequestBody DictionaryDataBOs bos);

    @FeignRequestMapping("/dictionaryData/delete")
    Result<?> delete(@RequestBody DictionaryDataBO bo);

    @FeignRequestMapping("/dictionaryData/saveByCode")
    Result<?> saveByCode(@RequestBody DictionaryDataBOs bos);
}
